<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>libavif</Name>
        <Homepage>https://github.com/AOMediaCodec/libavif</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>BSD</License>
        <IsA>library</IsA>
        <Summary>Library for encoding and decoding avif files</Summary>
        <Description>Library for encoding and decoding avif files</Description>
        <Archive sha1sum="5d9b62d2853cba9d4adef1d4f217b67741e07d94" type="targz">https://github.com/AOMediaCodec/libavif/archive/refs/tags/v0.11.1.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>cmake</Dependency>
            <Dependency>nasm</Dependency>
            <Dependency>aom-devel</Dependency>
            <Dependency>zlib-devel</Dependency>
            <Dependency>rav1e-devel</Dependency>
            <Dependency>dav1d-devel</Dependency>
            <Dependency>glib2-devel</Dependency>
            <Dependency>libpng-devel</Dependency>
            <Dependency>svt-av1-devel</Dependency>
            <Dependency>gdk-pixbuf-devel</Dependency>
            <Dependency>libjpeg-turbo-devel</Dependency>
        </BuildDependencies>
        <!--
        <Patches>
            <Patch>libavif.patch</Patch>
            <Patch level="1">libavif.patch</Patch>
        </Patches>
        -->
    </Source>

    <Package>
        <Name>libavif</Name>
        <RuntimeDependencies>
            <Dependency>aom</Dependency>
            <Dependency>rav1e</Dependency>
            <Dependency>dav1d</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>libpng</Dependency>
            <Dependency>svt-av1</Dependency>
            <Dependency>gdk-pixbuf</Dependency>
            <Dependency>libjpeg-turbo</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="data">/usr/share</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <Package>
        <Name>libavif-devel</Name>
        <Summary>Development files for libavif</Summary>
        <RuntimeDependencies>
            <Dependency release="current">libavif</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/cmake</Path>
            <Path fileType="library">/usr/lib/pkgconfig</Path>
        </Files>
    </Package>

    <History>
        <Update release="2">
            <Date>2023-04-01</Date>
            <Version>0.11.1</Version>
            <Comment>Version bump.</Comment>
            <Name>fury</Name>
            <Email>uglyside@yandex.ru</Email>
        </Update>
        <Update release="1">
            <Date>2021-11-01</Date>
            <Version>0.9.3</Version>
            <Comment>First release</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
